// app.js
App({
  onLaunch(options) {
    console.log('我是onLaunch', options.scene);
  },
  onShow() {
    console.log('我是app的onShow');
  },
  onHide() {
    console.log('我是app的onHide');
  }
})